package com.tinama.jedis01.demo;

/**
 * @author lgc
 * @createDate 2020/10/9 - 17:33
 */
public class Person extends God{
    /**
    *
    */
    private int age = 100;
    /**
    *
    */
    private String name = "lgc";
    Person(){
        super();
        System.out.println("Person Class Construtor");
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Person{" +
                "age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}
